package org.minos.edit
{
	import org.minos.edit.controller.StartupCommand;
	import org.puremvc.as3.interfaces.IFacade;
	import org.puremvc.as3.patterns.facade.Facade;
	
	/**
	 * ...
	 * @author M.ichow
	 */
	public class EditFacate extends Facade
	{
		
		public static const NAME : String = "EditFacate";
		public static const START_UP : String = NAME + "_Startup";
		
		public static const SCENE_SELECTION_CHANGED:String = NAME + "_SceneSelectionChange";
		
		
		public function EditFacate()
		{
		}
		
		public static function getInstance() : EditFacate
		{
			if ( !instance )
				instance = new EditFacate();
			return instance as EditFacate;
		}
		
		override protected function initializeController() : void
		{
			super.initializeController();
			registerCommand( EditFacate.START_UP , StartupCommand );
		}
		
		public function startup( app : Object ) : void
		{
			sendNotification( EditFacate.START_UP , app );
		}
	
	}

}